package mysql

import "gorm.io/gorm"

type ApplyRecord struct {
	gorm.Model
	UserId   int64  `gorm:"type:int(11);not null;comment:'用户id'"`
	FriendId int64  `gorm:"type:int(11);not null;comment:'朋友id'"`
	Status   int64  `gorm:"type:int(3);default(0);comment:'状态 0 申请中  1 同意 2 拒绝'"`
	Context  string `gorm:"type:varchar(1000);not null;comment:'备注'"`
}

type RecordUser struct {
	FriendId  int64
	Name      string
	HeadImage string
	Id        int64
	Context   string
	Status    string
}
